package com.ruoyi.yuan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 组织机构对象 yuan_org
 * 
 * @author guifeng
 * @date 2022-08-25
 */
public class Organization extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 组织id */
    private Long orgId;

    /** 名称 */
    @Excel(name = "名称")
    private String orgName;

    /** 所在市ID */
    @Excel(name = "所在市ID")
    private Long cityId;

    /** 描述 */
    @Excel(name = "描述")
    private String orgDesc;

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setOrgDesc(String orgDesc) 
    {
        this.orgDesc = orgDesc;
    }

    public String getOrgDesc() 
    {
        return orgDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgId", getOrgId())
            .append("parentId", getParentId())
            .append("orgName", getOrgName())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("cityId", getCityId())
            .append("orgDesc", getOrgDesc())
            .toString();
    }
}
